//
//  RootViewController.h
//  Waiguofang
//
//  Created by waiguofang on 14-8-27.
//
//

#import <UIKit/UIKit.h>
#import "SVProgressHUD.h"

typedef enum
{
    TopNavBarType_HompPage,
    TopNavBarType_Normal,

}TopNavBarType;
typedef enum
{
    Old_House,
    New_House,
    State,
    Country,
    Group_House
}HouseType;
@interface RootViewController : UIViewController

@property (nonatomic, strong) UIView *topNavbarView;
@property (nonatomic, strong) NSString *pageName;
@property (nonatomic, strong) NSString *baseImgUrl;

- (void)setTitleNavigation:(NSString *)naviTitle;
- (void)setTitleViewNavigation:(NSString *)naviTitle;
- (void)setLeftBarButtonItem:(UIBarButtonItem *)buttonItem;
- (void)setRightBarButtonItem:(UIBarButtonItem *)buttonItem;
//- (void)setLeftImage:(NSString *)imageName;

- (void)setRightNavigation:(NSString *)rightNaviName;
- (void)setLeftNavigation:(NSString *)rightNaviName;
- (void)rightBarButtonAction:(id)sender;
- (void)leftBarButtonAction:(id)sender;
- (void)backButtonClick;
- (void)setBackNavigation;

- (UIView *)setupBackgroundView;

- (void)showMessage:(NSString *)message;
- (void)showMessage:(NSString *)message duration:(CGFloat)duration;

- (void)setNoDataRemindView:(BOOL)isShowView;

@end
